package com.yaoyao.server.impl;

import com.yaoyao.dao.UserRepostory;
import com.yaoyao.pojo.User;
import com.yaoyao.server.UserServer;
import org.springframework.beans.factory.annotation.Autowired;

public class UserServerImpl implements UserServer {
    @Autowired
   private UserRepostory userRepostory;
    @Override
    public void add(User user) {
        userRepostory.save(user);
    }
}
